home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-06 / 3c503.zip / NDIS / MSLANINS.BAT < prev    next >
DOS Batch File  |  1992-01-10  |  2KB  |  95 lines

  1. echo off
  2. REM %%VER MS Lan Manager Installation Utility Program v2.0c
  3. if %mono%==y goto b&w
  4. ..\install\flushkey
  5. ..\install\check videocard
  6. if errorlevel 1 goto color
  7. :b&w
  8. cls
  9. goto contin
  10. :color
  11. ..\install\get b 31
  12. :contin
  13. type ..\blank2.men
  14. ..\install\echoxy 4 30 N D I S      M E N U
  15. ..\install\echoxy 6 13 U P D A T I N G   L A N   M A N A G E R   D R I V E R S
  16. ..\install\echoxy 9 14 This utility program updates EtherLink II drivers on
  17. ..\install\echoxy 10    14    MS Lan Manager servers, or on workstations.
  18. ..\install\echoxy    11    14
  19. ..\install\echoxy 12 14 NOTE:  To update the EtherLink II NDIS drivers on a  
  20. ..\install\echoxy 13 14 MS LAN Manager server from a workstation, you must  
  21. ..\install\echoxy 14 14 have Admin rights to the server and be linked to 
  22. ..\install\echoxy 15 14
  23. type dollar.msg
  24.  
  25. ..\install\echoxy 17 24 Continue? (y/n): 
  26. ..\install\reply
  27. if errorlevel 122 goto inval
  28. if errorlevel 121 goto getdrv
  29. if errorlevel 111  goto inval
  30. if errorlevel 110  goto ndis
  31. if errorlevel 90  goto inval
  32. if errorlevel 89  goto getdrv
  33. if errorlevel 79  goto inval
  34. if errorlevel 78  goto ndis
  35. if errorlevel 60  goto inval
  36. if errorlevel 59  goto help
  37. if errorlevel 28  goto inval
  38. if errorlevel 27  goto ndis
  39. if errorlevel 1   goto inval
  40.  
  41. :getdrv
  42. ..\install\echoxy 0 50 █████████████████████████████
  43. ..\install\echoxy 17 10
  44. ..\install\get c "       Enter the target drive letter:  "
  45.  
  46. if errorlevel 127 goto inval
  47. if errorlevel 126 goto ndis
  48. if errorlevel 123 goto inval
  49. if errorlevel 97  goto contin1
  50. if errorlevel 91  goto inval
  51. if errorlevel 65  goto contin1
  52. if errorlevel 1   goto inval
  53.  
  54. :contin1
  55. if not exist %get%:\*.* goto baddrv
  56. set tardrv=%get%:
  57.  
  58. ..\install\echoxy 19 10
  59. ..\install\get n  "       Update files on drive %tardrv% (y/n): "
  60. if errorlevel 126 goto ndis
  61. if errorlevel 89 goto ok
  62. mslanins
  63. :ok
  64. mslanman\mslanman %tardrv% 
  65.  
  66. :inval
  67. ..\install\echoxy 21 17 **** Invalid key, try again. ****
  68. echo 
  69. echo 
  70. echo.
  71. mslanins
  72.  
  73. :help
  74. ..\install\echoxy 24 1
  75. type mslanman\mslanman.hlp
  76. pause
  77. mslanins
  78.  
  79. :baddrv
  80. echo 
  81. echo 
  82. ..\install\echoxy 19 14 Invalid drive letter or drive not linked.             
  83. ..\install\echoxy 20 14 Drive must be linked before running the Update utility. 
  84. ..\install\echoxy 22 13 Strike any key to continue. 
  85. ..\install\reply
  86. if errorlevel 28 goto ok1
  87. if errorlevel 27 goto ndis
  88.  
  89. :ok1
  90. mslanins
  91.  
  92. :ndis
  93. inspropt
  94.  
  95.